@import "../../styles/variable";
.cell-item {
  display: flex;
  flex-direction: column;
  position: relative;

  &:before {
    content: ' ';
    position: absolute;
    left: 0;
    top: 0;
    width: 200%;
    height: 200%;
    box-sizing: border-box;
    border: 1Px solid #e5e5e5;
    transform: scale(0.5);
    transform-origin: 0 0;
  }

  .img-content {
    position: relative;
    .img-icon {
      left: 0;
      top: 0;
      position: relative;
      background-color: #e5e5e5;
      width: 100%;
      height: 100%;
    }
    .cart-num-content {
      transform: scale(0.9);
      position: absolute;
      top: 12px;
      right: 12px;
      height: 42px;
      min-width: 42px;
      background-color: #fff;
      z-index: 2;
      border-radius: 100px;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: @font26;
      color: @colorD0021B;
      line-height: 40px;
      &:before {
        content: " ";
        position: absolute;
        top: 0;
        left: 0;
        width: 200%;
        height: 200%;
        border: 1Px solid @colorD0021B;
        box-sizing: border-box;
        transform: scale(0.5);
        transform-origin: 0 0;
        border-radius: 200px;
      }
      .title {
        margin: 0 10px;
      }
    }
  }
  .cell-title {
    height: 42px;
    line-height: 42px;
    margin: 8px 20px 0 20px;
    font-size: @font28;
    color: @color333;
    .line(1);
  }
  .cell-price {
    font-size: @font28;
    color: @colorD0021B;
    line-height: 40px;
    margin: 10px 20px 0 20px;
  }
  .cell-tag-price {
    font-size: @font24;
    color: @color666;
    line-height: 36px;
    margin-left: 20px;
    margin-top: 10px;
    max-width: 240px;
  }
  .sales-volume {
    font-size: @font24;
    color: @color666;
    line-height: 36px;
    margin-left: 20px;
    margin-top: 4px;
  }
  .cart-content {
    position: absolute;
    right: 0;
    bottom: 40px;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    .cart-icon {
      width: 48px;
      height: 48px;
    }
  }
}

.normal-content {
  display: flex;
  flex-direction: column;
}
.recommend-content {
  .recommend-center {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    .price {
      margin-left: 20px;
      color: @colorD0021B;
      font-size: @font28;
      line-height: 42px;
    }
    .sales-volume {
      margin-right: 20px;
      font-size: @font24;
      color: @color999;
      line-height: 42px;
    }
  }
  .tag-price {
    margin-top: 8px;
    margin-left: 20px;
    margin-right: 20px;
    font-size: @font24;
    color: @color666;
    line-height: 32px;
  }
}

